(function(window,document){
	"user strict"
	var $userAccountEL,
		$userCreateTimeEL,
		$userLastModifyPasswordTimeEL,
		$userSecurityEmailEL,
		$userNameEL
	;
	$(function(){
		$userAccountEL=$("#userAccountEL");
		$userCreateTimeEL=$("#userCreateTimeEL");
		$userLastModifyPasswordTimeEL=$("#userLastModifyPasswordTimeEL");
		$userSecurityEmailEL=$("#userSecurityEmailEL");
		$userNameEL=$("#userNameEL");
		getData();
	})
	var getData=function(){
		var url="/api/system/myaccount";
		$.post(url,{},function(r){
			if(r.code==="ok"){
				$userAccountEL.text(r.data.account);
				$userCreateTimeEL.text(Date.format(r.data.createTime));
				$userLastModifyPasswordTimeEL.text(r.data.createTime);
				$userNameEL.attr("placeholder",r.data.name)
				
				
			}
		})
		
	}
	
})(window,document)
